package com.xzy.service;

import com.xzy.custom.Page;
import com.xzy.entities.BorrowRecord;
import com.xzy.web.form.BorrowRecordForm;

import java.util.List;

/**
 * TODO70
 *
 * @author Administrator
 * ClassName: 借书记录
 * date: 2021/11/23 14:42
 */
public interface BorrowRecordService {

    List<BorrowRecord> findAll();

    Integer findBorrowCount(Page page,String name);

    List<BorrowRecord> findAllBorrow(Page page,String name);

    void insertBorrowRecord(BorrowRecordForm form);

    List<Integer> findByUserId(Integer userId);

    void insertOperation(BorrowRecordForm form);

    void updateStatus(Integer borrowId);

    List<BorrowRecord> findAllDeWeight();
}
